package com.itshidu.jiaowu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itshidu.jiaowu.entity.User;
import com.itshidu.jiaowu.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-08
 */
public interface UserService extends IService<User> {

    Result login(String username, String password);

    Result register(User user);

    Result updatepwd(String oldpwd,String newpwd1,String newpwd2);
}
